projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87f9989
)
block: dwc_ahsata: support i.MX6DQPlus
author
Peng Fan
<
[email protected]
>
Mon, 23 May 2016 10:36:05 +0000
(18:36 +0800)
committer
Stefano Babic
<
[email protected]
>
Tue, 24 May 2016 12:59:57 +0000
(14:59 +0200)
i.MX6DQPlus support sata interface, so not return failure
when CPU is i.MX6DQPlus.
In this patch, also use simpler runtime cpu dections macros to replace
is_cpu_type.
Signed-off-by: Peng Fan <
[email protected]
>
Cc: Stefano Babic <
[email protected]
>
Cc: Simon Glass <
[email protected]
>
Cc: Tang Yuantian <
[email protected]
>
Cc: Shaohui Xie <
[email protected]
>
Cc: Bin Meng <
[email protected]
>
drivers/block/dwc_ahsata.c
patch
|
blob
|
history
diff --git
a/drivers/block/dwc_ahsata.c
b/drivers/block/dwc_ahsata.c
index 6ec52a9114b468ced0fffc0f70b7aea2bf29f9b5..6056fe5dfd027385601d746d7adca5926d7515e0 100644
(file)
--- a/
drivers/block/dwc_ahsata.c
+++ b/
drivers/block/dwc_ahsata.c
@@
-563,7
+563,7
@@
int init_sata(int dev)
struct ahci_probe_ent *probe_ent = NULL;
#if defined(CONFIG_MX6)
- if (!is_
cpu_type(MXC_CPU_MX6Q) && !is_cpu_type(MXC_CPU_MX6D
))
+ if (!is_
mx6dq() && !is_mx6dqp(
))
return 1;
#endif
if (dev < 0 || dev > (CONFIG_SYS_SATA_MAX_DEVICE - 1)) {